home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / fido / pltprv02.lha / PlutPriv.doc next >
Encoding:
Text File  |  1994-01-24  |  3.7 KB  |  92 lines

  1.  
  2.             ------------------------------------------------
  3.  
  4.                                 PlutPriv
  5.  
  6.  
  7.                          23-Jan-94 Version 0.2
  8.  
  9.  
  10.                   (c) Peter Deane (3:622/401@FidoNet)
  11.  
  12.  
  13.                        Written in GFA-BASIC V3.51
  14.  
  15.             ------------------------------------------------
  16.  
  17.  
  18. PlutPriv is a utility which deals with ANY *.MSG base directory (4d or
  19. 2d headers are fine) to always set the private bit on all messages
  20. therein.
  21.  
  22. The reason for this is that for some reason, some people/mail-processors
  23. will not set the private bit on messages.  This means that any sysop who
  24. allows BBS users access to the netmail directory, can have sensitive
  25. messages getting read by all and sundry.
  26.  
  27. This program was developed due to a spate of messages coming into my
  28. system and a friend's system, without the private bit set, containing
  29. AreaFix passwords.  Since most people use the same AreaFix and session
  30. password, this is a big problem.  If a node sends you an areafix message
  31. without the private bit set, it may result in a hacker faking your
  32. address and password and picking up your mail from somebody.  There are
  33. a number of other undesirable occurences when your session password
  34. becomes public knowledge.
  35.  
  36. This might also be useful for keeping all messages in a private echomail
  37. area private - again some systems just don't seem to be able to get it
  38. right when creating the mail in the first place.
  39.  
  40. I'd mainly envisage you use this on your netmail directory/ies, as a
  41. rule, however.  When testing it, you may like to try your BadMail area
  42. first, instead!
  43.  
  44. The program is run from the command line.  It REQUIRES an argument - the
  45. name of the directory you wish it to scan.  The program scans the area
  46. to determine the hiwater and lowater marks.  It then looks for a file
  47. called PlutPriv.lmr in that directory.  If one exists, this is the
  48. number of the last message PlutPriv scanned, and it starts from that
  49. number onwards.  If it doesn't exist, then PlutPriv starts at the
  50. lowater mark.
  51.  
  52. If you ever want to be certain PlutPriv has set the private bits on
  53. EVERY message in the base, delete the "PlutPriv.lmr" file from the
  54. relevant directory.  You may also edit this file in a text editor, if
  55. you wish - it is simply a number followed by a linefeed (or two or three
  56. linefeeds if you are making it by hand.
  57.  
  58. Once PlutPriv has determined the numbers to start and finish, it will
  59. then open each *.MSG, set the private bit, close the message and write
  60. out its latest PlutPriv.lmr number to the file.  The next time you run
  61. it, it will obviously not have as much work to do as the first time!
  62.  
  63. Included in the archive is a program called "PlutUnPriv".  I'd say
  64. you've probably guessed what this program does!  Just in case you
  65. accidentally set the private bits on an entire echomail directory, this
  66. program will help!  Don't forget you'll almost certainly have to delete
  67. the PlutPriv.lmr file in that directory, and be aware these programs are
  68. an "all or nothing" affair.  PlutPriv makes EVERY message private,
  69. PlutUnPriv makes EVERY message public.
  70.  
  71. The program is freely distributable, but must include all parts if
  72. re-distributed.  (PlutPriv, PlutPriv.doc, PlutPriv.lst, PlutUnPriv)
  73.  
  74. I've only included the source to PlutPriv in the archive.  PlutUnpriv
  75. really only varies in one line - Search for "BSET" and replace it with
  76. "BCLR" inside the message processing loop.  Oh, and change the versname$
  77. at the head of the program.
  78.  
  79. The author can be contacted:
  80.  
  81. Peter Deane
  82.  
  83. FidoNet:   3:622/401        Postal: PO Box 228
  84. GlobalNet: 54:6101/401              Swansea  NSW  2281
  85. AmigaNet:  41:200/401               AUSTRALIA
  86.  
  87. BBS:    from O/S   +61-49-72-1647
  88. (24hrs) from Aust  (049) 72-1647
  89.  
  90.             ------------------------------------------------
  91.  
  92.